kubectl config set-cluster kubernetes --certificate-authority={{ PKI_PATH }}/ca.pem --embed-certs=true --server=https://{{ VIP }}:{{ HAPROXY_KUB_API_PORT }} \
   --kubeconfig={{ KUBERNETES_CONFIG_PATH }}/kube-scheduler.kubeconfig
kubectl config set-credentials system:kube-scheduler --client-certificate={{ PKI_PATH }}/kube-scheduler.pem --client-key={{ PKI_PATH }}/kube-scheduler-key.pem \
    --embed-certs=true --kubeconfig={{ KUBERNETES_CONFIG_PATH }}/kube-scheduler.kubeconfig
kubectl config set-context system:kube-scheduler --cluster=kubernetes --user=system:kube-scheduler --kubeconfig={{ KUBERNETES_CONFIG_PATH }}/kube-scheduler.kubeconfig
kubectl config use-context system:kube-scheduler --kubeconfig={{ KUBERNETES_CONFIG_PATH }}/kube-scheduler.kubeconfig
